package busquedas;

import org.hibernate.Criteria;
import org.hibernate.criterion.Order;

public class FiltroOrdenarMenosEscalas extends Filtro {

		/**
		 * Constructor, simplemente ordena en base a un criterio.
		 */
	public FiltroOrdenarMenosEscalas(){
		
	}

	public Criteria getRestriction(Criteria c) {
		
		return c.addOrder(Order.asc("escalas"));
	}
	
	
	
}
